package com.ice.body.hardware.service.impl;
import com.ice.body.hardware.dao.DeviceQrDao;
import com.ice.body.hardware.model.DeviceQr;
import com.ice.body.hardware.service.DeviceQrService;
import com.ice.base.dao.BaseDao;
import com.ice.base.service.impl.BaseServiceImpl;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
/**
 * Created with GuoYanBin.
 * Description:二维码扫描器 serviceImpl
 * Date: 2021-12-22
 * Time: 02:57
 */
@Service
public class DeviceQrServiceImpl extends BaseServiceImpl<DeviceQr> implements DeviceQrService{
    @Resource 
    private DeviceQrDao dao;
    @Override
    public BaseDao<DeviceQr> getBaseDao() {
        return dao;
    }

    @Override
    public DeviceQr getByIp(String ip) {
        return dao.getByIp(ip);
    }
}
